#include <sys/types.h>
#include <unistd.h>

#include "tfs_common.h"

enum {
    T_WORD,
    T_NUM,
    T_REGEXP,
};

#define POOL_ALLOC()    tfs_pool_alloc();
#define POOL_FINISH()   tfs_pool_finish();

#define POOL_SET(x,y,z) do {\
    tfs_pool_set(x, y, z); \
    free (yylval); \
} while (0);

int tfs_pool_alloc(void);
int tfs_pool_finish(void);
int tfs_pool_set(char *key, char *val, int type);
